home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
serial
/
callback.001
/
callback~
/
callback
/
lib
/
dest
/
tagdnames.c
< prev
Wrap
C/C++ Source or Header
|
1996-07-18
|
622b
|
24 lines
#include "dest.p"
void tag_dnames()
{
unsigned
groupindex; /* last parsed group of a user */
int
dindex; /* index along the destinations */
/* the group-index of the group added last */
groupindex = lastuser_groupindex();
/* walk all destinations */
for (dindex = 0; dindex < ndestinations; dindex++)
{
/* a possible user destination */
if (destination[dindex].dgroup == groupindex)
check_dname(destination[dindex].dname, /* index of the name */
groupindex); /* index of the group */
}
}